package xinxin.com.DecoratorPattern.Finery;

import xinxin.com.DecoratorPattern.Person.Person;

public class Finery extends Person {
    protected Person component;

    public void Decorate(Person component) {
        this.component = component;
    }

    public void Show() {
        if (component != null) {
            component.Show();
        }
    }
}
